﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<dynamic>" %>

    
    <form id="Form_CreateUser" method="post"  action="/Account/ActionCreate">
    <table class="userReg">
        <tr>
            <th>
                UserName
            </th>
            <td>
                <input id="UserName" name="UserName" type="text" />
            </td>
        </tr>
        <tr>
            <th>
                Password
            </th>
            <td>
                <input id="Password" name="Password" type="password" />
            </td>
        </tr>
        <tr>
            <th>
                Name
            </th>
            <td>
                <input id="Name" name="Name" type="text" />
            </td>
        </tr>
        <tr>
            <th>
                Sex
            </th>
            <td valign="middle">
                <input type="radio" id="IsMale" name="IsMale" value="true" />
                <label for="IsMale" style="margin-top:-5px;">Male</label> 
                <input type="radio" id="IsFemale" name="IsMale" value="false" />
                <label for="IsFemale" style="margin-top:-5px;">Female</label>
            </td>
        </tr>
        <tr>
            <th>
                BirthDate
            </th>
            <td>
               <input type="text" id="BirthDate" name="BirthDate"/>
            </td>
        </tr>
        <tr>
            <th>
                MobilePhone
            </th>
            <td>
                <input id="MobilePhone" name="MobilePhone" type="text" />
            </td>
        </tr>
        <tr>
            <th>
                Email
            </th>
            <td>
                <input id="Email" name="Email" type="text" />
            </td>
        </tr>
        <tr>
            <th>
                Address
            </th>
            <td>
                <input id="Address" name="Address" type="text" />
            </td>
        </tr>
        <tr>
            <td>
                <input type="button" id="Save" name="Save" value="Create" onclick="SaveUser()" />
            </td>
            <td>
             <%--   <input id="Text1" name="Address" type="text" />--%>
            </td>
        </tr>
    </table>
    </form>

    <script type="text/javascript">
        function SaveUser() {
            Account_Script.saveUser(this.document.forms[0]);
        }

    </script>

